﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

/// <summary>
/// Summary description for IPosting
/// </summary>
public interface IPosting
{
    IList<PostingInfo> GetAllPosting();
    PostingInfo GetPostingById(Int64 postingId);
    int InsertPosting(PostingInfo post);
    int UpdatePosting(PostingInfo post);
    int DeletePosting(Int64 postingId);
    DataSet GetBestPosting();
  //  DataSet GetPostingByCompetitionID(int competitionId);
    DataSet GetPostingInfoByCompetitionID(int competitionId);
    DataSet GetPostingInfoByPostingID(Int64 postingID);
    DataSet getMarkByPostingID(Int64 postingID);
    DataSet GetPostingInExhibition(int exhibitionId);
    DataSet GetPostingByPostingID(Int64 postingID);
}